package client_core

import (
	"context"
	"github.com/gin-gonic/gin"
	"runtime"
)

var uploadTaskRunnerMgr *TaskRunnerMgr

func initUploadTaskMgr(ctx context.Context, group *gin.RouterGroup) {
	uploadTaskRunnerMgr = NewTaskRunnerMgr(ctx, false)
	uploadTaskRunnerMgr.Startup(runtime.NumCPU(), runtime.NumCPU())
}

func (m *TaskRunnerMgr) runUploadTask(task *TaskWarp) error {
	panic("implement me")
}

func (m *TaskRunnerMgr) deleteUploadTaskCb(ids []int64) error {
	//TODO implement me
	panic("implement me")
}

func (m *TaskRunnerMgr) pauseUploadTaskCb(ids []int64) error {
	//TODO implement me
	panic("implement me")
}

func (m *TaskRunnerMgr) resumeUploadTaskCb(ids []int64) error {
	//TODO implement me
	panic("implement me")
}
